
package com.git.xiaoyou11.support;

/**
 * @author xiaoyou11@hotmail.com
 */
public class KeyGenUtils {
	
	public static String globalEntityId(String entityName) {
		return "global:"+entityName;
	}
	
	public static String timeline(String entityName) {
		return "timeline:"+entityName;
	}

	public static String buildMapRecordKey(String simpleName, String itemId) {
		return simpleName + ":" + itemId;
	}
	
	
	
}